package cn.ming.application.mapper;

import cn.ming.application.entity.Order;
import org.apache.ibatis.annotations.Param;

import java.time.LocalDateTime;
import java.util.List;

/**
 * @author zhuming
 * @version 1.0.0
 * @description 业务类
 * @since 2022-11-18 17:33
 */
public interface OrderMapper {
    /**
     * 查询订单列表
     */
    List<Order> getOrders();

    /**
     * 插入订单信息
      * @param order 订单信息
     */
    int addOrder(@Param("order") Order order);
}
